package com.drg.center.entity.result;

import com.guaike.core.entity.annotation.DictConvert;
import com.guaike.core.entity.constant.DictCodeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/21
 */
@Data
@ApiModel("子系统信息")
public class SysIndexVO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("系统编号")
    private String sysCode;

    @ApiModelProperty("系统名称")
    private String sysName;

    @ApiModelProperty("状态(字典码:10002)")
    @DictConvert(code= DictCodeConstant.ENABLE_OR_DISABLE)
    private Integer status;

    @ApiModelProperty("站点类型（字典码:10005)")
    @DictConvert(code= DictCodeConstant.SITE_TYPE)
    private Integer siteType;

    @ApiModelProperty("站点链接")
    private String siteUrl;

    @ApiModelProperty("排序字段")
    private Integer sortIndex;

    @ApiModelProperty("系统图标类型（0:站内图标,1:站外图标）")
    private Integer iconType;

    @ApiModelProperty("图标地址")
    private String icon;
}
